/*
 * @Description: 子设备管理
 * @Author: Wang ZhongWang
 * @Date: 2022-03-20 10:11:35
 * @LastEditTime: 2023-03-20 14:40:10
 * @LastEditors: Wang ZhongWang
 */
import request from '@/utils/request'

/**
 * 通道分页查询
 * @param query
 */
export function getListPage(query) {
  var params = JSON.parse(JSON.stringify(query))
  return request({
    url: '/iot/deviceChannel/pageList',
    method: 'post',
    data: params
  })
}

/**
 * 通道同步查询
 * @param query
 */
export function syncChannel(query) {
  var params = JSON.parse(JSON.stringify(query))
  return request({
    url: '/iot/play/sync',
    method: 'get',
    params: params
  })
}
